﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/MasterPage.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="_Default" Title="Клиника - Основно меню" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder" runat="Server">
    <br />
    <table>
        <tr>
            <td>
            <b>ПАЦИЕНТИ, ЧИЙТО ПРЕГЛЕД Е НАЗНАЧЕН ЗА СЛЕДВАЩИТЕ ДНИ:</b>
            <br />
            <br />
            </td>
        </tr>
        <tr>
            <td>
                <asp:GridView ID="gvReminder" runat="server" AutoGenerateColumns="False" DataSourceID="sdsRemind">
                    <Columns>
                        <asp:BoundField ApplyFormatInEditMode="True" DataField="Date" DataFormatString="{0:dd/MM/yyyy}"
                            HeaderText="Дата на насрочен преглед" HtmlEncode="False" SortExpression="Date" />
                        <asp:BoundField DataField="PatientName" HeaderText="Име на пациент" ReadOnly="True"
                            SortExpression="PatientName" />
                        <asp:BoundField DataField="Telephone" HeaderText="Телефон за контакт" SortExpression="Telephone" />
                    </Columns>
                </asp:GridView>
                <asp:SqlDataSource ID="sdsRemind" runat="server" ConnectionString="<%$ ConnectionStrings:ClinicConnectionString %>" SelectCommand="up_ReminderGetAll" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
            </td>
        </tr>
    </table>
</asp:Content>
